{layout name="layout/layout" /}
<div class="register_head">
    <img id="back" src="__STATIC__/index/img/return.png">
    <p>会员权益</p>
</div>
<div class="main">
    {foreach $power as $k=>$v}
    <div class="power_list">
        <img class="power_huiyuan" src="{$v->src}" width="60px" height="60px">
        <div class="power">
            <p>{$v->title}</p>
            <p class="power_detail"><small>{$v->content}</small></p>
        </div>
    </div>
    {/foreach}
</div>
<script>
  // 取消提示的http地址显示
    window.alert = function(name) {
        var iframe = document.createElement("IFRAME");
        iframe.style.display = "none";
        iframe.setAttribute("src", 'data:text/plain,');
        document.documentElement.appendChild(iframe);
        window.frames[0].window.alert(name);
        iframe.parentNode.removeChild(iframe);
    }
    $(function(){
        $("#back").click(function(){
            window.history.go(-1);
        });
    })
</script>
